<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>학과생 목록</title>
</head>
<body>
<h2>${gwaName}생 목록</h2>
 <div id="studentList" class="defTable">
 	<table id="output" >
 		<tr id="thfix">
  			<td>학번</td>
 			<td>성명</td>
 			<td>주소</td>
 			<td>전공</td>
 			<td>비밀번호</td>
 			<td>이메일</td>
 			<td>전화</td>
 			<td>주민번호</td>
 			<td>성별</td>
		</tr>
		<c:forEach var="list" items="${studentList}">
		<tr>
			<td>
				${list.hakbun }
			</td>
			<td>
				${list.name }
			</td>
			<td>
				${list.address }
			</td>
			<td>
				${list.gwa_code }
			</td>
			<td>
				${list.passwd }
			</td>
			<td>
				${list.email }
			</td>
			<td>
				${list.tel }
			</td>
			<td>
				${list.jumin1 }-${list.jumin2 }
			</td>
			<td>
				${list.gender }
			</td>
		</tr>
		</c:forEach> 			
 	</table>
 </div>
</body>
</html>